﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using Net.Chirash.Twitter.TweetZone.WindowComponents.ViewModels;
using Net.Chirash.Twitter.TwitterClient;

namespace Net.Chirash.Twitter.TweetZone.WindowComponents.Containers
{
    public class Container
        : UserControl
    {
        #region Constructors

        public Container(ContainerViewModelBase viewmodel)
        {
            this.MinWidth = 330;
            this.DataContext = viewmodel;
        }
        
        #endregion

        #region Public Properties

        public ContainerViewModelBase ViewModel
        {
            get { return this.DataContext as ContainerViewModelBase; }
        }

        #endregion
    }
}
